package com.intelligent.system.common.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import java.time.LocalDateTime;

/**
 * 标签对象映射实体类
 */
@Data
@TableName("SYS_TAG_OBJECT_MAP")
public class TagObjectMap {
    /**
     * 映射ID
     */
    @TableId(value = "ID", type = IdType.ASSIGN_ID)
    private Long id;

    /**
     * 标签ID
     */
    @TableField("TAG_ID")
    private Long tagId;

    /**
     * 对象ID
     */
    @TableField("OBJECT_ID")
    private Long objectId;

    /**
     * 对象类型
     */
    @TableField("OBJECT_TYPE")
    private Integer objectType;

    /**
     * 创建时间
     */
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;
} 